<script setup lang="ts">
import { RouterView } from 'vue-router'
import SiteHeader from '@/components/SiteHeader.vue'
</script>

<template>
  <div class="layout">
    <SiteHeader />
    <main class="main">
      <div class="container">
        <RouterView />
      </div>
    </main>
  </div>
  
</template>

<style scoped>
.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.main {
  flex: 1;
}
.container {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 16px;
}
</style>
